package com.jvtd.demo.webView;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;

import com.jvtd.demo.R;
import com.jvtd.widget.webView.JvtdWebView;

public class WebViewActivity extends AppCompatActivity
{
  @Override
  protected void onCreate(@Nullable Bundle savedInstanceState)
  {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_web_view);
    JvtdWebView jvtdWebView = findViewById(R.id.web_view);
    jvtdWebView.isProgress(true);
    jvtdWebView.getWebView().isFlexiable(true);//是否具有弹性效果
    jvtdWebView.getWebView().loadUrl("https://www.jianshu.com/p/da757db454ba");
  }
}


